vestige_free_api.json•132 kB
{
"openapi": "3.0.2",
"info": {
"title": "Vestige API (FREE)",
"description": "To be used with **https://api.vestigelabs.org**",
"version": "3.0.1"
},
"paths": {
"/providers": {
"get": {
"tags": [
"Providers"
],
"summary": "View Providers",
"description": "Get all supported providers (ids used with other endpoints), cache 5M",
"operationId": "view_providers_providers_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Providers Providers Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/providers/tvl/simple/90D": {
"get": {
"tags": [
"Providers"
],
"summary": "View Providers Tvl Simple 90D",
"operationId": "view_providers_tvl_simple_90d_providers_tvl_simple_90D_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Providers Tvl Simple 90D Providers Tvl Simple 90D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderTVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/providers/tvl/simple/30D": {
"get": {
"tags": [
"Providers"
],
"summary": "View Providers Tvl Simple 30D",
"operationId": "view_providers_tvl_simple_30d_providers_tvl_simple_30D_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Providers Tvl Simple 30D Providers Tvl Simple 30D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderTVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/providers/tvl/simple/7D": {
"get": {
"tags": [
"Providers"
],
"summary": "View Providers Tvl Simple 7D",
"operationId": "view_providers_tvl_simple_7d_providers_tvl_simple_7D_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Providers Tvl Simple 7D Providers Tvl Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderTVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/providers/tvl/simple/1D": {
"get": {
"tags": [
"Providers"
],
"summary": "View Providers Tvl Simple 1D",
"operationId": "view_providers_tvl_simple_1d_providers_tvl_simple_1D_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Providers Tvl Simple 1D Providers Tvl Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderTVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/assets": {
"get": {
"tags": [
"Assets"
],
"summary": "View Assets",
"description": "Get all tracked assets, cache 5M, TRANSACTION COUNT DEPRECATED",
"operationId": "view_assets_assets_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Assets Assets Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetSerializer"
}
}
}
}
}
}
}
},
"/assets/list": {
"get": {
"tags": [
"Assets"
],
"summary": "View Assets List",
"description": "Get all tracked assets in a list format, cache 1M",
"operationId": "view_assets_list_assets_list_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Assets List Assets List Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/ListAssetSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/assets/search": {
"get": {
"tags": [
"Assets"
],
"summary": "View Assets By Name",
"description": "Get assets that fit search query (limit 5), cache 5M, TRANSACTION COUNT DEPRECATED, pagination starts from 0 page, default page size is 5",
"operationId": "view_assets_by_name_assets_search_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Query",
"type": "string"
},
"name": "query",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Page",
"type": "integer",
"default": 0
},
"name": "page",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Page Size",
"type": "integer",
"default": 5
},
"name": "page_size",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Assets By Name Assets Search Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/assets/views": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Views",
"description": "Get asset views, cache 5M",
"operationId": "view_asset_views_assets_views_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Views Assets Views Get",
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetViews"
}
}
}
}
}
}
}
},
"/assets/locked": {
"get": {
"tags": [
"Assets"
],
"summary": "View Assets Locked",
"description": "Get all vaults for tracked assets in a list format, cache 5M",
"operationId": "view_assets_locked_assets_locked_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Assets Locked Assets Locked Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetVaultsSerializer"
}
}
}
}
}
}
}
},
"/asset/{asset_id}": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset",
"description": "Get asset info, cache 5M, TRANSACTION COUNT DEPRECATED",
"operationId": "view_asset_asset__asset_id__get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/list": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset List",
"description": "Get asset info in list format, cache 1M",
"operationId": "view_asset_list_asset__asset_id__list_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ListAssetSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/locked": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Locked",
"description": "Get all vaults for tracked assets in a list format, cache 5M",
"operationId": "view_asset_locked_asset__asset_id__locked_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetVaultsSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/price": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Price",
"description": "Get estimated asset price for provider and currency using the main ASSET/ALGO pool, cache 1M",
"operationId": "view_asset_price_asset__asset_id__price_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetPriceSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/pools": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Algo Pools",
"description": "Get asset/ALGO or asset/any pools for all providers, cache 1M",
"operationId": "view_asset_algo_pools_asset__asset_id__pools_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Include All",
"type": "boolean",
"default": false
},
"name": "include_all",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Algo Pools Asset Asset Id Pools Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/vaults": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Vaults",
"description": "Get vaults related to asset id (locked assets and locked asset LP tokens), cache 5M",
"operationId": "view_asset_vaults_asset__asset_id__vaults_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Include All",
"type": "boolean",
"default": false
},
"name": "include_all",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RelativeVaultsSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/pools/{provider}": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Pools",
"description": "Get asset pools, cache 1M",
"operationId": "view_asset_pools_asset__asset_id__pools__provider__get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": true,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Pools Asset Asset Id Pools Provider Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/transactions/simple/30D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Transaction Amounts Simple 30D",
"description": "Get asset swap count for the last 30 days in 6 hour increments, cache 6H",
"operationId": "view_asset_transaction_amounts_simple_30d_asset__asset_id__transactions_simple_30D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Transaction Amounts Simple 30D Asset Asset Id Transactions Simple 30D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetTransactionsSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/transactions/simple/7D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Transaction Amounts Simple 7D",
"description": "Get asset swap count for the last 7 days in hourly increments, cache 1H",
"operationId": "view_asset_transaction_amounts_simple_7d_asset__asset_id__transactions_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Transaction Amounts Simple 7D Asset Asset Id Transactions Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetTransactionsSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/transactions/simple/1D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Transaction Amounts Simple 1D",
"description": "Get asset swap count for the last day 15 minute increments, cache 15M",
"operationId": "view_asset_transaction_amounts_simple_1d_asset__asset_id__transactions_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Transaction Amounts Simple 1D Asset Asset Id Transactions Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetTransactionsSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/holders": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Holders",
"description": "Get asset holders, cache 5M",
"operationId": "view_asset_holders_asset__asset_id__holders_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Limit",
"type": "integer",
"default": 100
},
"name": "limit",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Holders Asset Asset Id Holders Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountBalanceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/contributors": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Contributors",
"description": "Get asset liquidity contributors from top 5 biggest pools, cache 15M",
"operationId": "view_asset_contributors_asset__asset_id__contributors_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Limit",
"type": "integer",
"default": 100
},
"name": "limit",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Contributors Asset Asset Id Contributors Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountBalanceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/prices/simple/7D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Prices Simple 7D",
"description": "Get asset prices from algo pools for the last week in hourly increments, cache 1H",
"operationId": "view_asset_prices_simple_7d_asset__asset_id__prices_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Prices Simple 7D Asset Asset Id Prices Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/prices/simple/1D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Prices Simple 1D",
"description": "Get asset prices from algo pools for the last day in 15M increments, cache 15M",
"operationId": "view_asset_prices_simple_1d_asset__asset_id__prices_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Prices Simple 1D Asset Asset Id Prices Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/prices/simple/1H": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Prices Simple 1H",
"description": "Get asset prices from algo pools for the last hour in 1M increments, cache 5M",
"operationId": "view_asset_prices_simple_1h_asset__asset_id__prices_simple_1H_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Prices Simple 1H Asset Asset Id Prices Simple 1H Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/tvl/simple/30D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Tvl Simple 30D",
"description": "Get asset tvl for the last month in 6H increments, cache 6H",
"operationId": "view_asset_tvl_simple_30d_asset__asset_id__tvl_simple_30D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Tvl Simple 30D Asset Asset Id Tvl Simple 30D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/TVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/tvl/simple/7D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Tvl Simple 7D",
"description": "Get asset tvl for the last week in hourly increments, cache 1H",
"operationId": "view_asset_tvl_simple_7d_asset__asset_id__tvl_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Tvl Simple 7D Asset Asset Id Tvl Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/TVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/asset/{asset_id}/tvl/simple/1D": {
"get": {
"tags": [
"Assets"
],
"summary": "View Asset Tvl Simple 1D",
"description": "Get asset tvl for the last day in 15M increments, cache 15M",
"operationId": "view_asset_tvl_simple_1d_asset__asset_id__tvl_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Asset Id",
"type": "integer"
},
"name": "asset_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Asset Tvl Simple 1D Asset Asset Id Tvl Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/TVLSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pools/volumes": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Volumes",
"description": "Get pool volumes and APY across providers, cache 5M",
"operationId": "view_pool_volumes_pools_volumes_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Volumes Pools Volumes Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolVolumeSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pools/{provider}": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pools",
"description": "Get tracked pools or all pools by asset id, cache 1M",
"operationId": "view_pools_pools__provider__get",
"parameters": [
{
"required": true,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Assets",
"type": "string"
},
"name": "assets",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pools Pools Provider Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pools/{provider}/volumes": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Provider Volumes",
"description": "Get pool volumes and APY for a provider, cache 5M",
"operationId": "view_pool_provider_volumes_pools__provider__volumes_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Provider",
"type": "string"
},
"name": "provider",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Provider Volumes Pools Provider Volumes Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolVolumeSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool",
"description": "Get pool info",
"operationId": "view_pool_pool__pool_id__get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PoolSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/volume": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Volumes",
"description": "Get pool volume and APY for a specific pool, cache 5M",
"operationId": "view_pool_volumes_pool__pool_id__volume_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PoolVolumeSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/volumes/simple/7D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Volumes Simple 7D",
"description": "Get pool volumes for the last week in hourly increments, cache 1H",
"operationId": "view_pool_volumes_simple_7d_pool__pool_id__volumes_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Volumes Simple 7D Pool Pool Id Volumes Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolVolumeStepSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/volumes/simple/1D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Volumes Simple 1D",
"description": "Get pool volumes for the last day in 15M increments, cache 15M",
"operationId": "view_pool_volumes_simple_1d_pool__pool_id__volumes_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Volumes Simple 1D Pool Pool Id Volumes Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolVolumeStepSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/prices/simple/7D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Prices Simple 7D",
"description": "Get prices for the last week in hourly increments for the pool, cache 1H",
"operationId": "view_pool_prices_simple_7d_pool__pool_id__prices_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Prices Simple 7D Pool Pool Id Prices Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/prices/simple/1D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Prices Simple 1D",
"description": "Get prices for the last day in 15 minute increments for the pool, cache 15M",
"operationId": "view_pool_prices_simple_1d_pool__pool_id__prices_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Prices Simple 1D Pool Pool Id Prices Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/prices/simple/1H": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Prices Simple 1H",
"description": "Get prices for the last hour in minute increments for the pool, cache 5M",
"operationId": "view_pool_prices_simple_1h_pool__pool_id__prices_simple_1H_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Prices Simple 1H Pool Pool Id Prices Simple 1H Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/price": {
"get": {
"tags": [
"Pools"
],
"summary": "View Last Pool Price",
"description": "Get last price of a pool, cache 1M",
"operationId": "view_last_pool_price_pool__pool_id__price_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PriceSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/liquidities": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Liquidities",
"description": "DEPRECATED",
"operationId": "view_pool_liquidities_pool__pool_id__liquidities_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Start",
"type": "integer"
},
"name": "start",
"in": "query"
},
{
"required": false,
"schema": {
"title": "End",
"type": "integer"
},
"name": "end",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Liquidities Pool Pool Id Liquidities Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolLiquiditySerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/liquidities/simple/7D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Liquidities Simple 7D",
"description": "DEPRECATED",
"operationId": "view_pool_liquidities_simple_7d_pool__pool_id__liquidities_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Liquidities Simple 7D Pool Pool Id Liquidities Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolLiquiditySerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/liquidities/simple/1D": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Liquidities Simple 1D",
"description": "DEPRECATED",
"operationId": "view_pool_liquidities_simple_1d_pool__pool_id__liquidities_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Liquidities Simple 1D Pool Pool Id Liquidities Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolLiquiditySerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/liquidity": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Liquidity",
"description": "DEPRECATED",
"operationId": "view_pool_liquidity_pool__pool_id__liquidity_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Timestamp",
"type": "integer"
},
"name": "timestamp",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PoolLiquiditySerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/pool/{pool_id}/contributors": {
"get": {
"tags": [
"Pools"
],
"summary": "View Pool Contributors",
"description": "Get pool contributors, cache 5M",
"operationId": "view_pool_contributors_pool__pool_id__contributors_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Pool Id",
"type": "integer"
},
"name": "pool_id",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Limit",
"type": "integer",
"default": 100
},
"name": "limit",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Pool Contributors Pool Pool Id Contributors Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountBalanceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/prices": {
"get": {
"tags": [
"Currency",
"Currency"
],
"summary": "View Currency Prices",
"description": "Get all latest currency prices, cache 5M",
"operationId": "view_currency_prices_currency_prices_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CurrencyPricesSerializer"
}
}
}
}
}
}
},
"/currency/{currency}/prices": {
"get": {
"tags": [
"Currency",
"Currency"
],
"summary": "View Currency Prices",
"description": "Get currency prices by timestamp range, cache 5M",
"operationId": "view_currency_prices_currency__currency__prices_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Start",
"type": "integer"
},
"name": "start",
"in": "query"
},
{
"required": false,
"schema": {
"title": "End",
"type": "integer"
},
"name": "end",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Currency Prices Currency Currency Prices Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/{currency}/price": {
"get": {
"tags": [
"Currency"
],
"summary": "View Currency Price",
"description": "Get currency price by timestamp, cache 5M",
"operationId": "view_currency_price_currency__currency__price_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Timestamp",
"type": "integer"
},
"name": "timestamp",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/{currency}/average": {
"get": {
"tags": [
"Currency"
],
"summary": "View Currency Average Price",
"description": "Get average price for currency and starting timestamp (default 30 days ago), cache 15M",
"operationId": "view_currency_average_price_currency__currency__average_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
},
{
"required": false,
"schema": {
"title": "Timestamp",
"type": "integer"
},
"name": "timestamp",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/{currency}/prices/simple/30D": {
"get": {
"tags": [
"Currency"
],
"summary": "View Currency Prices Simple 30D",
"description": "Get currency prices for the last week in 30 minute increments, cache 30M",
"operationId": "view_currency_prices_simple_30d_currency__currency__prices_simple_30D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Currency Prices Simple 30D Currency Currency Prices Simple 30D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/{currency}/prices/simple/7D": {
"get": {
"tags": [
"Currency"
],
"summary": "View Currency Prices Simple 7D",
"description": "Get currency prices for the last week in 30 minute increments, cache 30M",
"operationId": "view_currency_prices_simple_7d_currency__currency__prices_simple_7D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Currency Prices Simple 7D Currency Currency Prices Simple 7D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/currency/{currency}/prices/simple/1D": {
"get": {
"tags": [
"Currency"
],
"summary": "View Currency Prices Simple 1D",
"description": "Get currency prices for the last day in 5 minute increments, cache 5M",
"operationId": "view_currency_prices_simple_1d_currency__currency__prices_simple_1D_get",
"parameters": [
{
"required": true,
"schema": {
"title": "Currency",
"type": "string"
},
"name": "currency",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"title": "Response View Currency Prices Simple 1D Currency Currency Prices Simple 1D Get",
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrencyPriceSerializer"
}
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/vault/{vault_id}": {
"get": {
"tags": [
"Vaults"
],
"summary": "View Vault",
"description": "Get vault by id, cache 5M",
"operationId": "view_vault_vault__vault_id__get",
"parameters": [
{
"required": true,
"schema": {
"title": "Vault Id",
"type": "integer"
},
"name": "vault_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VaultSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/vaults": {
"get": {
"tags": [
"Vaults"
],
"summary": "View Recent Vaults",
"description": "Get last 100 vaults, cache 5M",
"operationId": "view_recent_vaults_vaults_get",
"parameters": [
{
"required": false,
"schema": {
"title": "Owner",
"type": "string"
},
"name": "owner",
"in": "query"
},
{
"required": false,
"schema": {
"title": "Include All",
"type": "boolean",
"default": false
},
"name": "include_all",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RelativeVaultsSerializer"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/ping": {
"get": {
"tags": [
"Other"
],
"summary": "Echo",
"operationId": "echo_ping_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
},
"components": {
"schemas": {
"AccountBalanceSerializer": {
"title": "AccountBalanceSerializer",
"required": [
"address",
"balance"
],
"type": "object",
"properties": {
"address": {
"title": "Address",
"type": "string"
},
"balance": {
"title": "Balance",
"type": "string"
}
}
},
"AssetPriceSerializer": {
"title": "AssetPriceSerializer",
"required": [
"timestamp",
"price"
],
"type": "object",
"properties": {
"USD": {
"title": "Usd",
"type": "number"
},
"EUR": {
"title": "Eur",
"type": "number"
},
"GBP": {
"title": "Gbp",
"type": "number"
},
"BTC": {
"title": "Btc",
"type": "number"
},
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"price": {
"title": "Price",
"type": "number"
}
}
},
"AssetSerializer": {
"title": "AssetSerializer",
"required": [
"id",
"created_round",
"name",
"ticker",
"decimals",
"creator",
"verified",
"supply",
"circulating_supply",
"has_clawback",
"has_freeze"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "integer"
},
"created_round": {
"title": "Created Round",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"ticker": {
"title": "Ticker",
"type": "string"
},
"decimals": {
"title": "Decimals",
"type": "integer"
},
"creator": {
"title": "Creator",
"type": "string"
},
"reserve": {
"title": "Reserve",
"type": "string"
},
"verified": {
"title": "Verified",
"type": "boolean"
},
"supply": {
"title": "Supply",
"type": "string"
},
"circulating_supply": {
"title": "Circulating Supply",
"type": "string"
},
"burned_supply": {
"title": "Burned Supply",
"type": "string"
},
"url": {
"title": "Url",
"type": "string"
},
"has_clawback": {
"title": "Has Clawback",
"type": "boolean"
},
"has_freeze": {
"title": "Has Freeze",
"type": "boolean"
}
}
},
"AssetTransactionsSerializer": {
"title": "AssetTransactionsSerializer",
"required": [
"timestamp",
"transactions"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"transactions": {
"title": "Transactions",
"type": "integer"
},
"swaps": {
"title": "Swaps",
"type": "integer"
}
}
},
"AssetVaultsSerializer": {
"title": "AssetVaultsSerializer",
"required": [
"asset_id",
"supply_locked",
"supply_in_tvl_locked"
],
"type": "object",
"properties": {
"asset_id": {
"title": "Asset Id",
"type": "integer"
},
"supply_locked": {
"title": "Supply Locked",
"type": "number"
},
"supply_in_tvl_locked": {
"title": "Supply In Tvl Locked",
"type": "number"
}
}
},
"AssetViews": {
"title": "AssetViews",
"required": [
"views1h",
"views24h"
],
"type": "object",
"properties": {
"views1h": {
"title": "Views1H",
"type": "integer"
},
"views24h": {
"title": "Views24H",
"type": "integer"
}
}
},
"CurrencyPriceSerializer": {
"title": "CurrencyPriceSerializer",
"required": [
"timestamp",
"price"
],
"type": "object",
"properties": {
"currency": {
"title": "Currency",
"type": "string"
},
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"price": {
"title": "Price",
"type": "number"
}
}
},
"CurrencyPricesSerializer": {
"title": "CurrencyPricesSerializer",
"type": "object",
"properties": {
"USD": {
"title": "Usd",
"type": "number"
},
"EUR": {
"title": "Eur",
"type": "number"
},
"GBP": {
"title": "Gbp",
"type": "number"
},
"BTC": {
"title": "Btc",
"type": "number"
}
}
},
"HTTPValidationError": {
"title": "HTTPValidationError",
"type": "object",
"properties": {
"detail": {
"title": "Detail",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationError"
}
}
}
},
"ListAssetSerializer": {
"title": "ListAssetSerializer",
"required": [
"id",
"name",
"ticker",
"verified",
"created_round",
"price",
"change1h",
"change24h",
"volume24h",
"tvl",
"views1h",
"views24h",
"market_cap",
"fdmc",
"dexes"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"ticker": {
"title": "Ticker",
"type": "string"
},
"verified": {
"title": "Verified",
"type": "boolean"
},
"created_round": {
"title": "Created Round",
"type": "integer"
},
"first_pool_round": {
"title": "First Pool Round",
"type": "integer"
},
"price": {
"title": "Price",
"type": "number"
},
"change1h": {
"title": "Change1H",
"type": "number"
},
"change24h": {
"title": "Change24H",
"type": "number"
},
"volume24h": {
"title": "Volume24H",
"type": "number"
},
"tvl": {
"title": "Tvl",
"type": "number"
},
"tvl_stable": {
"title": "Tvl Stable",
"type": "number"
},
"views1h": {
"title": "Views1H",
"type": "integer"
},
"views24h": {
"title": "Views24H",
"type": "integer"
},
"market_cap": {
"title": "Market Cap",
"type": "number"
},
"fdmc": {
"title": "Fdmc",
"type": "number"
},
"dexes": {
"title": "Dexes",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"PoolLiquiditySerializer": {
"title": "PoolLiquiditySerializer",
"required": [
"timestamp",
"liquidity"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"liquidity": {
"title": "Liquidity",
"type": "number"
},
"token_ratio": {
"title": "Token Ratio",
"type": "number"
}
}
},
"PoolSerializer": {
"title": "PoolSerializer",
"required": [
"id",
"token_id",
"application_id",
"provider",
"created_round",
"asset_1_id",
"volatility",
"liquidity",
"address",
"fee",
"last_traded"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "integer"
},
"token_id": {
"title": "Token Id",
"type": "integer"
},
"application_id": {
"title": "Application Id",
"type": "integer"
},
"provider": {
"title": "Provider",
"type": "string"
},
"created_round": {
"title": "Created Round",
"type": "integer"
},
"asset_1_id": {
"title": "Asset 1 Id",
"type": "integer"
},
"asset_2_id": {
"title": "Asset 2 Id",
"type": "integer"
},
"volatility": {
"title": "Volatility",
"type": "number"
},
"liquidity": {
"title": "Liquidity",
"type": "number"
},
"address": {
"title": "Address",
"type": "string"
},
"price": {
"title": "Price",
"type": "number"
},
"price1h": {
"title": "Price1H",
"type": "number"
},
"price24h": {
"title": "Price24H",
"type": "number"
},
"volume_1_24h": {
"title": "Volume 1 24H",
"type": "number"
},
"volume_2_24h": {
"title": "Volume 2 24H",
"type": "number"
},
"fee": {
"title": "Fee",
"type": "number"
},
"token_ratio": {
"title": "Token Ratio",
"type": "number"
},
"last_traded": {
"title": "Last Traded",
"type": "integer"
}
}
},
"PoolVolumeSerializer": {
"title": "PoolVolumeSerializer",
"required": [
"id",
"provider",
"asset_1_id",
"application_id",
"fee",
"liquidity",
"volume24h",
"volume7d",
"apr24h",
"apr7d"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "integer"
},
"provider": {
"title": "Provider",
"type": "string"
},
"asset_1_id": {
"title": "Asset 1 Id",
"type": "integer"
},
"asset_2_id": {
"title": "Asset 2 Id",
"type": "integer"
},
"application_id": {
"title": "Application Id",
"type": "integer"
},
"fee": {
"title": "Fee",
"type": "number"
},
"liquidity": {
"title": "Liquidity",
"type": "number"
},
"volume24h": {
"title": "Volume24H",
"type": "number"
},
"volume7d": {
"title": "Volume7D",
"type": "number"
},
"apr24h": {
"title": "Apr24H",
"type": "number"
},
"apr7d": {
"title": "Apr7D",
"type": "number"
}
}
},
"PoolVolumeStepSerializer": {
"title": "PoolVolumeStepSerializer",
"required": [
"timestamp",
"volume"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"volume": {
"title": "Volume",
"type": "number"
}
}
},
"PriceSerializer": {
"title": "PriceSerializer",
"required": [
"timestamp",
"price"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"price": {
"title": "Price",
"type": "number"
}
}
},
"ProviderSerializer": {
"title": "ProviderSerializer",
"required": [
"id",
"name",
"url",
"active",
"volume24h",
"tvl"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"url": {
"title": "Url",
"type": "string"
},
"active": {
"title": "Active",
"type": "boolean"
},
"volume24h": {
"title": "Volume24H",
"type": "number"
},
"tvl": {
"title": "Tvl",
"type": "number"
}
}
},
"ProviderTVLSerializer": {
"title": "ProviderTVLSerializer",
"required": [
"timestamp"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"T2": {
"title": "T2",
"type": "number"
},
"T3": {
"title": "T3",
"type": "number"
},
"PT": {
"title": "Pt",
"type": "number"
},
"PS": {
"title": "Ps",
"type": "number"
},
"AF": {
"title": "Af",
"type": "number"
},
"A2": {
"title": "A2",
"type": "number"
},
"H2": {
"title": "H2",
"type": "number"
},
"UT": {
"title": "Ut",
"type": "number"
}
}
},
"RelativeVaultsSerializer": {
"title": "RelativeVaultsSerializer",
"required": [
"vaults",
"pools"
],
"type": "object",
"properties": {
"vaults": {
"title": "Vaults",
"type": "array",
"items": {
"$ref": "#/components/schemas/VaultSerializer"
}
},
"assets": {
"title": "Assets",
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetSerializer"
}
},
"pools": {
"title": "Pools",
"type": "array",
"items": {
"$ref": "#/components/schemas/PoolSerializer"
}
}
}
},
"TVLSerializer": {
"title": "TVLSerializer",
"required": [
"timestamp",
"tvl"
],
"type": "object",
"properties": {
"timestamp": {
"title": "Timestamp",
"type": "integer"
},
"tvl": {
"title": "Tvl",
"type": "number"
}
}
},
"ValidationError": {
"title": "ValidationError",
"required": [
"loc",
"msg",
"type"
],
"type": "object",
"properties": {
"loc": {
"title": "Location",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
}
},
"VaultSerializer": {
"title": "VaultSerializer",
"required": [
"id",
"type",
"owner",
"asset_id",
"steps",
"amount_per_step",
"time_per_step",
"is_done",
"initial_amount",
"given_amount",
"created"
],
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "integer"
},
"type": {
"title": "Type",
"type": "integer"
},
"owner": {
"title": "Owner",
"type": "string"
},
"asset_id": {
"title": "Asset Id",
"type": "integer"
},
"steps": {
"title": "Steps",
"type": "integer"
},
"amount_per_step": {
"title": "Amount Per Step",
"type": "string"
},
"time_per_step": {
"title": "Time Per Step",
"type": "integer"
},
"is_done": {
"title": "Is Done",
"type": "boolean"
},
"initial_amount": {
"title": "Initial Amount",
"type": "string"
},
"given_amount": {
"title": "Given Amount",
"type": "string"
},
"created": {
"title": "Created",
"type": "integer"
},
"prev_release": {
"title": "Prev Release",
"type": "integer"
},
"next_release": {
"title": "Next Release",
"type": "integer"
}
}
}
}
}
}